package com.acxiom.foodreview.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.acxiom.foodreview.entity.SysRole;
import com.acxiom.foodreview.entity.SysUser;

public interface SysUserDao {

	public SysUser findByUserName(String username);

	public int createSysUser(SysUser sysUser);

	public int linkSysUserToSysRole(@Param("sysUserId") Integer sysUserId, @Param("sysRoles") List<SysRole> sysRoles);
}